﻿using System;
using System.Xml.Serialization;
using Reece.Open.Mvc.Atom.Contracts;

namespace Reece.Open.Mvc.Atom.Models
{
    public class Entry
    {
        [AtomElement(ElementName = "id")]
        public AtomId Id { get; set; }

        [AtomElement(ElementName = "title")]
        public string Title { get; set; }

        [AtomElement(ElementName = "updated")]
        public DateTime Updated { get; set; }

        [AtomElement(ElementName = "summary")]
        public string Summary { get; set; }
    }
}